include('shared.lua')



function ENT:Draw()
	self:Think()
	
	self.Entity:DrawModel()
end

function ENT:Think()
	
	local parent = self:GetParent()
	
	if ValidPlayer( parent ) then
		local Attachment = parent:LookupAttachment("eyes") 
		local Tbl = parent:GetAttachment( Attachment )
		local Pos = parent:GetPos() + Vector(0,0,100) 
		
		if Tbl.Pos then
			Pos = Tbl.Pos + Vector(0,0,42)
		end
	
		self:SetPos( Pos )
	end

end